﻿namespace ServiceCore.Entity.Const
{
    public class ConstAttribute : Attribute
    {
        /// <summary>
        /// 常量字段属性配置
        /// </summary>
        /// <param name="Description">字段描述</param>
        public ConstAttribute(string Description, string remark = "", string configContent = "")
        {
            this.Description = Description;
            this.Remark = remark;
            this.ConfigContent = configContent;
            ConfigContent = configContent;
        }

        /// <summary>
        /// 字段描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 字段备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 配置内容
        /// </summary>
        public string ConfigContent { get; set; }

    }
}
